package com.code.entity.composite;

public class RelativePath extends NodeComponent{
    private String path;

    public RelativePath(String path) {
        this.path = path;
    }

    @Override
    public String build(String nbsp) {
        StringBuilder builder = new StringBuilder();
        builder.append(nbsp).append("<").append(path).append("/>");
        return builder.toString();
    }
}
